package com.farm.kaiping.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.farm.kaiping.entity.Pigpen;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.util.List;

/**
 * 圈舍管理表(Pigpen)表数据库访问层
 *
 * @author makejava
 * @since 2025-01-22 13:58:18
 */
@Mapper
public interface PigpenMapper extends BaseMapper<Pigpen> {

    @Select("SELECT ${ew.sqlSelect} FROM pigpen ${ew.customSqlSegment}")
    List<Pigpen> selectExportList(@Param(Constants.WRAPPER) Wrapper wrapper);

}

